package ModelImplementation

import "SoftwareEngineering/Model"

type MailMethod struct {
	itsAddress string
}

func (m MailMethod) MailMethod(address string) MailMethod {
	m.itsAddress = address
	return m
}

func (m MailMethod) GetAddress() string {
	return m.itsAddress
}

func (m MailMethod) Pay(pc Model.Paycheck){
	pc.SetField("Disposition", "Mail")
}